package pattern.prototype;

public class Realizetype implements Cloneable{
    public Realizetype() {
        System.out.println("创建成功");
    }

    @Override
    public Realizetype clone() throws CloneNotSupportedException {
        System.out.println("复制成功");
        return (Realizetype) super.clone();
    }
}
